package com.probox.common.entity.vo.customer.open;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 客户账单
 * @author usoft
 */
@Data
public class CustomerFundBillOpenVo {
    //来源
    @ApiModelProperty(value = "来源")
    private String fundDesc;

    //金额
    @ApiModelProperty(value = "金额")
    private String fundAmont;

    //创建时间
    @ApiModelProperty(value = "创建时间")
    private Date fundTime;

    /**
     * 状态(0:流入,1:流出)
     */
    @ApiModelProperty(value = "资金状态(0:流入,1:流出)")
    private String fundStatus;

    public String getFundTime(){
        Date fundTime = this.fundTime;
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String date = sdf.format(fundTime);
        return date;
    }
}
